
class Page(object):
    
    def __init__(self, size, pageNumber):
        self.size = size
        self.instructions = []
        self.pageNumber = pageNumber
        self.baseRegistry = None
        self.limitRegistry = None
    
        
    def isFull(self):
        return (len(self.instructions) == self.size)
    
    def addInstruction(self, anInstruction):
        self.instructions.append(anInstruction)
        
